#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QSplitter>

namespace Ui {
class MainWindow;
}

class PlayBarView;

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    static MainWindow *shareWindow();
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;

    PlayBarView *_barView;

    QSplitter *splitter;
    QWidget *centerWidget;

    QWidget *currentWidget;
public slots:
    void slot_changeCenterWidget(QWidget *widget);

    void slot_settings();
};

#endif // MAINWINDOW_H
